abseil.git
4 years agoEliminate libabsl_flags.so and libabsl_flags.a
Benjamin Barenblat [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
Eliminate libabsl_flags.so and libabsl_flags.a

Forwarded: not-needed

The libabsl_flags library only contains code when compiling with MSVC, which
Debian doesn't use. Skip compiling absl/flags/flag.cc, and make the Abseil flags
library header-only.

Gbp-Pq: Name empty-flags-library.diff

4 years agoDisable SysinfoTest.NominalCPUFrequency on armel/armhf
Benjamin Barenblat [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
Disable SysinfoTest.NominalCPUFrequency on armel/armhf

NominalCPUFrequency has different behavior on 32-bit and 64-bit ARM
kernels. The Debian arm64 buildds assume they can build 32-bit ARM
packages, but if they do, the NominalCPUFrequency test will fail.
Disable the test when building for 32-bit ARM.

Gbp-Pq: Name arm-multiarch.diff

4 years agoUse libatomic if necessary
Benjamin Barenblat [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
Use libatomic if necessary

Bug-Debian: https://bugs.debian.org/973492

On some architectures, notably armel, Abseil needs symbols defined in
libatomic. Abseil does not currently have a well-developed system to
declare external library dependencies, so just have the linker determine
if anything needs libatomic and add the DT_NEEDED entry where necessary.

Gbp-Pq: Name latomic.diff

4 years agoSet package configuration options
Benjamin Barenblat [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
Set package configuration options

Forwarded: not-needed

Configure Abseil for Debian.

  - Set the SONAME appropriately.

  - To minimize the possibility of future ABI breakage, treat absl::any,
    absl::optional, absl::string_view, and absl::variant as their own types
    (rather than aliases for the std:: versions), and compile everything in an
    inline namespace.

  - Enable upstream's hardened build mode.

  - Disable Intel SSE2 on i386, since Debian supports some i386 processors
    without that extension. Keep it enabled on amd64, since all amd64 processors
    have it.

  - Disable Intel SSSE3 entirely, since no i386 processor supports it and Debian
    supports amd64 processors without it.

Gbp-Pq: Name configure.diff

4 years agoabseil (0~20210324.2-2+rpi1) bookworm-staging; urgency=medium
Peter Michael Green [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
abseil (0~20210324.2-2+rpi1) bookworm-staging; urgency=medium

  * Disable TestArmThumbOverlap, it fails to build with a "sorry unimplemented"
    error.

[dgit import unpatched abseil 0~20210324.2-2+rpi1]

4 years agoImport abseil_0~20210324.2-2+rpi1.debian.tar.xz
Peter Michael Green [Fri, 25 Feb 2022 01:39:43 +0000 (01:39 +0000)]
Import abseil_0~20210324.2-2+rpi1.debian.tar.xz

[dgit import tarball abseil 0~20210324.2-2+rpi1 abseil_0~20210324.2-2+rpi1.debian.tar.xz]

4 years agoImport abseil_0~20210324.2.orig.tar.gz
Benjamin Barenblat [Fri, 4 Feb 2022 18:11:32 +0000 (18:11 +0000)]
Import abseil_0~20210324.2.orig.tar.gz

[dgit import orig abseil_0~20210324.2.orig.tar.gz]